package com.example.telesys.pojo;

import java.util.ArrayList;
import java.util.List;

public class PhoneExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PhoneExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceIsNull() {
            addCriterion("discountprice is null");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceIsNotNull() {
            addCriterion("discountprice is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceEqualTo(Integer value) {
            addCriterion("discountprice =", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceNotEqualTo(Integer value) {
            addCriterion("discountprice <>", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceGreaterThan(Integer value) {
            addCriterion("discountprice >", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("discountprice >=", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceLessThan(Integer value) {
            addCriterion("discountprice <", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceLessThanOrEqualTo(Integer value) {
            addCriterion("discountprice <=", value, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceIn(List<Integer> values) {
            addCriterion("discountprice in", values, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceNotIn(List<Integer> values) {
            addCriterion("discountprice not in", values, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceBetween(Integer value1, Integer value2) {
            addCriterion("discountprice between", value1, value2, "discountprice");
            return (Criteria) this;
        }

        public Criteria andDiscountpriceNotBetween(Integer value1, Integer value2) {
            addCriterion("discountprice not between", value1, value2, "discountprice");
            return (Criteria) this;
        }

        public Criteria andIsstockedIsNull() {
            addCriterion("isstocked is null");
            return (Criteria) this;
        }

        public Criteria andIsstockedIsNotNull() {
            addCriterion("isstocked is not null");
            return (Criteria) this;
        }

        public Criteria andIsstockedEqualTo(Boolean value) {
            addCriterion("isstocked =", value, "isstocked");
            return (Criteria) this;
        }

        public Criteria andIsstockedNotEqualTo(Boolean value) {
            addCriterion("isstocked <>", value, "isstocked");
            return (Criteria) this;
        }

        public Criteria andIsstockedGreaterThan(Boolean value) {
            addCriterion("isstocked >", value, "isstocked");
            return (Criteria) this;
        }

        public Criteria andIsstockedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("isstocked >=", value, "isstocked");
            return (Criteria) this;
        }

        public Criteria andIsstockedLessThan(Boolean value) {
            addCriterion("isstocked <", value, "isstocked");
            return (Criteria) this;
        }

        public Criteria andIsstockedLessThanOrEqualTo(Boolean value) {
            addCriterion("isstocked <=", value, "isstocked");
            return (Criteria) this;
        }

        public Criteria andIsstockedIn(List<Boolean> values) {
            addCriterion("isstocked in", values, "isstocked");
            return (Criteria) this;
        }

        public Criteria andIsstockedNotIn(List<Boolean> values) {
            addCriterion("isstocked not in", values, "isstocked");
            return (Criteria) this;
        }

        public Criteria andIsstockedBetween(Boolean value1, Boolean value2) {
            addCriterion("isstocked between", value1, value2, "isstocked");
            return (Criteria) this;
        }

        public Criteria andIsstockedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("isstocked not between", value1, value2, "isstocked");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceIsNull() {
            addCriterion("originalprice is null");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceIsNotNull() {
            addCriterion("originalprice is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceEqualTo(Integer value) {
            addCriterion("originalprice =", value, "originalprice");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceNotEqualTo(Integer value) {
            addCriterion("originalprice <>", value, "originalprice");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceGreaterThan(Integer value) {
            addCriterion("originalprice >", value, "originalprice");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceGreaterThanOrEqualTo(Integer value) {
            addCriterion("originalprice >=", value, "originalprice");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceLessThan(Integer value) {
            addCriterion("originalprice <", value, "originalprice");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceLessThanOrEqualTo(Integer value) {
            addCriterion("originalprice <=", value, "originalprice");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceIn(List<Integer> values) {
            addCriterion("originalprice in", values, "originalprice");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceNotIn(List<Integer> values) {
            addCriterion("originalprice not in", values, "originalprice");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceBetween(Integer value1, Integer value2) {
            addCriterion("originalprice between", value1, value2, "originalprice");
            return (Criteria) this;
        }

        public Criteria andOriginalpriceNotBetween(Integer value1, Integer value2) {
            addCriterion("originalprice not between", value1, value2, "originalprice");
            return (Criteria) this;
        }

        public Criteria andPhonecolorIsNull() {
            addCriterion("phonecolor is null");
            return (Criteria) this;
        }

        public Criteria andPhonecolorIsNotNull() {
            addCriterion("phonecolor is not null");
            return (Criteria) this;
        }

        public Criteria andPhonecolorEqualTo(String value) {
            addCriterion("phonecolor =", value, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorNotEqualTo(String value) {
            addCriterion("phonecolor <>", value, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorGreaterThan(String value) {
            addCriterion("phonecolor >", value, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorGreaterThanOrEqualTo(String value) {
            addCriterion("phonecolor >=", value, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorLessThan(String value) {
            addCriterion("phonecolor <", value, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorLessThanOrEqualTo(String value) {
            addCriterion("phonecolor <=", value, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorLike(String value) {
            addCriterion("phonecolor like", value, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorNotLike(String value) {
            addCriterion("phonecolor not like", value, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorIn(List<String> values) {
            addCriterion("phonecolor in", values, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorNotIn(List<String> values) {
            addCriterion("phonecolor not in", values, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorBetween(String value1, String value2) {
            addCriterion("phonecolor between", value1, value2, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhonecolorNotBetween(String value1, String value2) {
            addCriterion("phonecolor not between", value1, value2, "phonecolor");
            return (Criteria) this;
        }

        public Criteria andPhoneidIsNull() {
            addCriterion("phoneid is null");
            return (Criteria) this;
        }

        public Criteria andPhoneidIsNotNull() {
            addCriterion("phoneid is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneidEqualTo(String value) {
            addCriterion("phoneid =", value, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidNotEqualTo(String value) {
            addCriterion("phoneid <>", value, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidGreaterThan(String value) {
            addCriterion("phoneid >", value, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidGreaterThanOrEqualTo(String value) {
            addCriterion("phoneid >=", value, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidLessThan(String value) {
            addCriterion("phoneid <", value, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidLessThanOrEqualTo(String value) {
            addCriterion("phoneid <=", value, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidLike(String value) {
            addCriterion("phoneid like", value, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidNotLike(String value) {
            addCriterion("phoneid not like", value, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidIn(List<String> values) {
            addCriterion("phoneid in", values, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidNotIn(List<String> values) {
            addCriterion("phoneid not in", values, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidBetween(String value1, String value2) {
            addCriterion("phoneid between", value1, value2, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhoneidNotBetween(String value1, String value2) {
            addCriterion("phoneid not between", value1, value2, "phoneid");
            return (Criteria) this;
        }

        public Criteria andPhonenameIsNull() {
            addCriterion("phonename is null");
            return (Criteria) this;
        }

        public Criteria andPhonenameIsNotNull() {
            addCriterion("phonename is not null");
            return (Criteria) this;
        }

        public Criteria andPhonenameEqualTo(String value) {
            addCriterion("phonename =", value, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameNotEqualTo(String value) {
            addCriterion("phonename <>", value, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameGreaterThan(String value) {
            addCriterion("phonename >", value, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameGreaterThanOrEqualTo(String value) {
            addCriterion("phonename >=", value, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameLessThan(String value) {
            addCriterion("phonename <", value, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameLessThanOrEqualTo(String value) {
            addCriterion("phonename <=", value, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameLike(String value) {
            addCriterion("phonename like", value, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameNotLike(String value) {
            addCriterion("phonename not like", value, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameIn(List<String> values) {
            addCriterion("phonename in", values, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameNotIn(List<String> values) {
            addCriterion("phonename not in", values, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameBetween(String value1, String value2) {
            addCriterion("phonename between", value1, value2, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonenameNotBetween(String value1, String value2) {
            addCriterion("phonename not between", value1, value2, "phonename");
            return (Criteria) this;
        }

        public Criteria andPhonesizeIsNull() {
            addCriterion("phonesize is null");
            return (Criteria) this;
        }

        public Criteria andPhonesizeIsNotNull() {
            addCriterion("phonesize is not null");
            return (Criteria) this;
        }

        public Criteria andPhonesizeEqualTo(String value) {
            addCriterion("phonesize =", value, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeNotEqualTo(String value) {
            addCriterion("phonesize <>", value, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeGreaterThan(String value) {
            addCriterion("phonesize >", value, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeGreaterThanOrEqualTo(String value) {
            addCriterion("phonesize >=", value, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeLessThan(String value) {
            addCriterion("phonesize <", value, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeLessThanOrEqualTo(String value) {
            addCriterion("phonesize <=", value, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeLike(String value) {
            addCriterion("phonesize like", value, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeNotLike(String value) {
            addCriterion("phonesize not like", value, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeIn(List<String> values) {
            addCriterion("phonesize in", values, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeNotIn(List<String> values) {
            addCriterion("phonesize not in", values, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeBetween(String value1, String value2) {
            addCriterion("phonesize between", value1, value2, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonesizeNotBetween(String value1, String value2) {
            addCriterion("phonesize not between", value1, value2, "phonesize");
            return (Criteria) this;
        }

        public Criteria andPhonetitleIsNull() {
            addCriterion("phonetitle is null");
            return (Criteria) this;
        }

        public Criteria andPhonetitleIsNotNull() {
            addCriterion("phonetitle is not null");
            return (Criteria) this;
        }

        public Criteria andPhonetitleEqualTo(String value) {
            addCriterion("phonetitle =", value, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleNotEqualTo(String value) {
            addCriterion("phonetitle <>", value, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleGreaterThan(String value) {
            addCriterion("phonetitle >", value, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleGreaterThanOrEqualTo(String value) {
            addCriterion("phonetitle >=", value, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleLessThan(String value) {
            addCriterion("phonetitle <", value, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleLessThanOrEqualTo(String value) {
            addCriterion("phonetitle <=", value, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleLike(String value) {
            addCriterion("phonetitle like", value, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleNotLike(String value) {
            addCriterion("phonetitle not like", value, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleIn(List<String> values) {
            addCriterion("phonetitle in", values, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleNotIn(List<String> values) {
            addCriterion("phonetitle not in", values, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleBetween(String value1, String value2) {
            addCriterion("phonetitle between", value1, value2, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetitleNotBetween(String value1, String value2) {
            addCriterion("phonetitle not between", value1, value2, "phonetitle");
            return (Criteria) this;
        }

        public Criteria andPhonetypeIsNull() {
            addCriterion("phonetype is null");
            return (Criteria) this;
        }

        public Criteria andPhonetypeIsNotNull() {
            addCriterion("phonetype is not null");
            return (Criteria) this;
        }

        public Criteria andPhonetypeEqualTo(String value) {
            addCriterion("phonetype =", value, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeNotEqualTo(String value) {
            addCriterion("phonetype <>", value, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeGreaterThan(String value) {
            addCriterion("phonetype >", value, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeGreaterThanOrEqualTo(String value) {
            addCriterion("phonetype >=", value, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeLessThan(String value) {
            addCriterion("phonetype <", value, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeLessThanOrEqualTo(String value) {
            addCriterion("phonetype <=", value, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeLike(String value) {
            addCriterion("phonetype like", value, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeNotLike(String value) {
            addCriterion("phonetype not like", value, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeIn(List<String> values) {
            addCriterion("phonetype in", values, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeNotIn(List<String> values) {
            addCriterion("phonetype not in", values, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeBetween(String value1, String value2) {
            addCriterion("phonetype between", value1, value2, "phonetype");
            return (Criteria) this;
        }

        public Criteria andPhonetypeNotBetween(String value1, String value2) {
            addCriterion("phonetype not between", value1, value2, "phonetype");
            return (Criteria) this;
        }

        public Criteria andSupplieridIsNull() {
            addCriterion("supplierid is null");
            return (Criteria) this;
        }

        public Criteria andSupplieridIsNotNull() {
            addCriterion("supplierid is not null");
            return (Criteria) this;
        }

        public Criteria andSupplieridEqualTo(String value) {
            addCriterion("supplierid =", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridNotEqualTo(String value) {
            addCriterion("supplierid <>", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridGreaterThan(String value) {
            addCriterion("supplierid >", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridGreaterThanOrEqualTo(String value) {
            addCriterion("supplierid >=", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridLessThan(String value) {
            addCriterion("supplierid <", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridLessThanOrEqualTo(String value) {
            addCriterion("supplierid <=", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridLike(String value) {
            addCriterion("supplierid like", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridNotLike(String value) {
            addCriterion("supplierid not like", value, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridIn(List<String> values) {
            addCriterion("supplierid in", values, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridNotIn(List<String> values) {
            addCriterion("supplierid not in", values, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridBetween(String value1, String value2) {
            addCriterion("supplierid between", value1, value2, "supplierid");
            return (Criteria) this;
        }

        public Criteria andSupplieridNotBetween(String value1, String value2) {
            addCriterion("supplierid not between", value1, value2, "supplierid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}